
#include "assembler_parser.h"

namespace assembler_test {

class ParserTest {
public:
  static void Test();

private:
  static void TestLexer();

  static void TestParser();

  static void CheckLexemString(const assembler::Lexem &lexem, const char *str);

  static void CheckRegisterArgument(const assembler::CommandArgument &arg,
    int id);

  static void CheckConstantArgument(const assembler::CommandArgument &arg,
    double value);

  static void CheckFunctionArgument(const assembler::CommandArgument &arg,
    const char *function_name);
};

}  // namespace assembler_test